﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ChordCreator.Services.ConfigurationServices;

namespace ChordCreator.Model
{
    internal class ChordScale : ChordBase<ScaleNote>
    {
        public ChordScale(ScaleNote[] notes) : base(notes)
        {
        }

        public override string ToString()
        {
            StringBuilder builder = new StringBuilder();
            foreach (ScaleNote note in notes_)
            {
                builder.Append(CurrentConfiguration.Instance.GetNotePresentation(note.Note));
            }
            return builder.ToString();
        }
    }
}
